//
//  StockAppDelegate.h
//  Stock
//
//  Created by blacksun on 11-6-5.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CommonUtil.h"
#import "StockNews.h"
#import "ReadStatus.h"
#import "MyStock.h"
#import "MyStockNews.h"
#import "StockAppHelper.h"
#import "StockAppService.h"
#import "StockContext.h"
#import "MacroDefine.h"
#import "StockRadar.h"
#import "MobClick.h"

@class RootViewController;

@interface StockAppDelegate : NSObject <UIApplicationDelegate,MobClickDelegate> {
    NSArray *stockSections;
    StockAppService *stockAppService;
    NSString *pushToken;
    RootViewController *rootViewController;
    NSInteger retryCount;
}
@property (nonatomic, retain) NSArray *stockSections;
@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet UINavigationController *navigationController;
@property (nonatomic, retain) StockAppService *stockAppService;
@property (nonatomic, retain) NSString *pushToken;
@property (nonatomic, retain) IBOutlet RootViewController *rootViewController;
-(void)updateRemoteData;

@end
